package com.pqtest.api.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.util.Date;

@Setter
@Getter
public class SimulibraryDto {
    @NotNull(message = "id不能为空")
    private Integer id;
    private String title;
    private int categoryId;
    private int userId;
    private int moduleType;
    private int testType;
    private int isDone;
    private int lastStopTime;
    private int state;
    private int simuType;
    private int libraryId;
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonIgnore
    private Date created_time;
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonIgnore
    private Date updated_time;
}
